<%@ Control Language="C#" AutoEventWireup="true" Codebehind="PlayerListControl.ascx.cs"
    Inherits="ASP_TF2LogParser.UserControls.PlayerListControl" %>
<asp:GridView ID="playerListgv" runat="server" AllowPaging="True" AllowSorting="True"
    AutoGenerateColumns="False" DataSourceID="ObjectDataSource1" PageSize="50">
    <Columns>
        <asp:TemplateField HeaderText="Player">
            <ItemTemplate>
                <asp:Label runat="server" Text='<%# GenerateUrl( Eval("PlayerName").ToString(), Eval("PlayerId").ToString() ) %>'
                    ID="PlayerNameLabel"></asp:Label>
            </ItemTemplate>
        </asp:TemplateField>
        <asp:BoundField DataField="Points" HeaderText="Points" SortExpression="Points" />
        <asp:BoundField DataField="Kills" HeaderText="Kills" ReadOnly="True" SortExpression="Kills" />
        <asp:BoundField DataField="Assists" HeaderText="Assists" ReadOnly="True" SortExpression="Assists" />
        <asp:BoundField DataField="Deaths" HeaderText="Deaths" ReadOnly="True" SortExpression="Deaths" />
        <asp:BoundField DataField="KillDeathRatio" HeaderText="K:D" SortExpression="KillDeathRatio" />
        <asp:BoundField DataField="Dominations" HeaderText="Dom" ReadOnly="True"
            SortExpression="Dominations" />
        <asp:BoundField DataField="Ubers" HeaderText="Ubers" ReadOnly="True" SortExpression="Ubers" />
        <asp:BoundField DataField="Captures" HeaderText="Caps" ReadOnly="True" SortExpression="Captures" />
        <asp:BoundField DataField="FlagsCaptured" HeaderText="Flag Caps" ReadOnly="True"
            SortExpression="FlagsCaptured" />
    </Columns>
</asp:GridView>
<asp:ObjectDataSource ID="ObjectDataSource1" runat="server" OldValuesParameterFormatString="original_{0}"
    SelectMethod="GetPlayerShortStats" TypeName="LogParser.DA.PlayerModel"></asp:ObjectDataSource>
&nbsp; 